using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class BsOutmatreturndetailTable : TableInfo
{
public const string C_TABLENAME = "Bs_Outmatreturndetail";

public const string C_DETAILID = "DETAILID";

public const string C_BILLID = "BILLID";

public const string C_OUTORDERDETAILID = "OUTORDERDETAILID";

public const string C_NUMS = "NUMS";

public const string C_RETURNREASON = "RETURNREASON";

public const string C_COMPENSATEAMOUNT = "COMPENSATEAMOUNT";

public const string C_MATERIALID = "MATERIALID";

public BsOutmatreturndetailTable()
{
_tableName = "Bs_Outmatreturndetail";
}

protected static BsOutmatreturndetailTable _current;
public static BsOutmatreturndetailTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new BsOutmatreturndetailTable();

_current.Add(C_DETAILID, new ColumnInfo(C_DETAILID, "", true, typeof(Decimal?)));

_current.Add(C_BILLID, new ColumnInfo(C_BILLID, "", false, typeof(String)));

_current.Add(C_OUTORDERDETAILID, new ColumnInfo(C_OUTORDERDETAILID, "", false, typeof(Decimal?)));

_current.Add(C_NUMS, new ColumnInfo(C_NUMS, "", false, typeof(Decimal?)));

_current.Add(C_RETURNREASON, new ColumnInfo(C_RETURNREASON, "", false, typeof(String)));

_current.Add(C_COMPENSATEAMOUNT, new ColumnInfo(C_COMPENSATEAMOUNT, "", false, typeof(Decimal?)));

_current.Add(C_MATERIALID, new ColumnInfo(C_MATERIALID, "", false, typeof(String)));

}

public ColumnInfo DETAILID
{
get { return this[C_DETAILID]; }
}

public ColumnInfo BILLID
{
get { return this[C_BILLID]; }
}

public ColumnInfo OUTORDERDETAILID
{
get { return this[C_OUTORDERDETAILID]; }
}

public ColumnInfo NUMS
{
get { return this[C_NUMS]; }
}

public ColumnInfo RETURNREASON
{
get { return this[C_RETURNREASON]; }
}

public ColumnInfo COMPENSATEAMOUNT
{
get { return this[C_COMPENSATEAMOUNT]; }
}

public ColumnInfo MATERIALID
{
get { return this[C_MATERIALID]; }
}

}
}